package com.koomii.common.excel;

public class ExcelCellData {

	private int row;
	
	private int col;
	
	private int style =0;//0普通,1页头，需要其他样式ExportUtil中扩展
	
	private Object value ="";
	
	private Integer endRow;
	
	private Integer endCol;
	
	/**
	 * 
	 * @param row 行
	 * @param col 列
	 * @param value 值
	 * @param style 格式
	 */
	public ExcelCellData(int row,int col,Object value,int style){
		this.row = row;
		this.col = col;
		this.value = value;
		this.style = style;
	}
	
	public ExcelCellData(int row,int col,Object value){
		this.row = row;
		this.col = col;
		this.value = value;
	}
	
	public ExcelCellData(int row,int col,Object value,int style,int endRow,int endCol){
		this.row = row;
		this.col = col;
		this.value = value;
		this.style = style;
		this.endRow = endRow;
		this.endCol = endCol;
	}
	
	public ExcelCellData(int row,int col){
		this.row = row;
		this.col = col;
	}

	public int getRow() {
		return row;
	}

	public int getCol() {
		return col;
	}

	public Object getValue() {
		return value;
	}

	public int getStyle() {
		return style;
	}

	public Integer getEndRow() {
		return endRow;
	}

	public Integer getEndCol() {
		return endCol;
	}

	


}
